{% extends 'ProjResManBundle::layout.html.twig' %}
{% block content %}
<div id="page_login">
{% block fos_user_content %}
        
{% if error %}
        <div>{{ error|trans({}, 'FOSUserBundle') }}</div>
{% endif %}

        <form action="{{ path("fos_user_security_check") }}" method="post" class="form-vertical">
            <input type="hidden" name="_csrf_token" value="{{ csrf_token }}" />
            <div class="control-group">
                <label class="control-label" for="username" style="font-family: Ubuntu-Regular, Georgia, Arial; font-size: 24px; color: #15AAE1;">{{ 'security.login.username'|trans({}, 'FOSUserBundle') }}</label>
                <div class="controls">
                    <input type="text" id="username" name="_username" value="{{ last_username }}" required="required"  class="input-xlarge" style="font-size:18px; display:block; height:25px;" />
                </div>
            </div>  
            <br/>
            <div class="control-group">
                <label for="password" style="font-family: Ubuntu-Regular, Georgia, Arial; font-size: 24px; color: #15AAE1;">{{ 'security.login.password'|trans({}, 'FOSUserBundle') }}</label>
                <div class="controls">
                    <input type="password" id="password" name="_password" required="required" class="input-xlarge" style="font-size:18px; display:block; height:25px;" />
                </div>
            </div>
            <br/>
            <div class="control-group">
                <label class="checkbox" style="font-family: Ubuntu-Regular, Georgia, Arial; font-size: 14px; color: #15AAE1;" for="remember_me">
                    <input type="checkbox" id="remember_me" name="_remember_me" value="on" class="input-xlarge" style="font-size:18px; display:block; height:25px; margin-top: -2px;" >{{ 'security.login.remember_me'|trans({}, 'FOSUserBundle') }}</input>
                </label>
            </div>
            <div class="control-group">
                <div class="controls">
                    <input type="submit" id="_submit" name="_submit" class="btn btn-primary" value="{{ 'security.login.submit'|trans({}, 'FOSUserBundle') }}" />
                </div>
            </div>
        </form>
{% endblock fos_user_content %}
    </div>
{% endblock %}

{% block header_menu_login_text %}
Log in
{% endblock %}